<template>
    <div class="info">
        <gltitle :titleSize="titleSize" :is_mt="is_mt" v-if="!$store.state.isApp"></gltitle>
        <div class="info-con">
            <div class="name">{{info.title}}</div>
            <div class="time">{{info.date}}</div>
            <div class="desc" v-html="info.richText"></div>
        </div>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                titleSize: this.$t('new.desc46'),
                is_mt: true,
                info:{}
            }
        },
        mounted() {
            this.info=JSON.parse(localStorage.getItem('messageinfo'))
        }
    }
</script>

<style lang="less" scoped>
.info{
      min-height: 100vh;
    background: #F7F7FA;
    .info-con{
        padding: 1.08rem .3rem .5rem;
        .name{
            padding: .3rem 0 .27rem;
            font-size: .4rem;
            color: #222222;
            text-align: center;
        }
        .time{
            font-size: .28rem;
            color: #999999;
            text-align: center;
        }
        .desc{
            margin-top: 0.47rem;
        }
    }
}
</style>